package net.sk.china.city;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@SpringBootApplication(
        exclude = {DataSourceAutoConfiguration.class},
        scanBasePackages = {
//                "com.ruoyi.framework",
//                "com.ruoyi.system",
//                "com.ruoyi.web",
                "net.sk.china.city.observer",
                "net.sk.china.city.config",
                "net.sk.china.city.controller",
                "net.sk.china.city.service",
                "net.sk.china.city.talk",
                "net.sk.china.common"
        },
        scanBasePackageClasses = {
//                com.ruoyi.common.config.RuoYiConfig.class,
//                com.ruoyi.common.core.redis.RedisCache.class,
//                com.ruoyi.common.utils.spring.SpringUtils.class,
                net.sk.china.city.utils.ExcelUtil.class,
                net.sk.china.city.utils.JsonStrCovertUtil.class,
                net.sk.china.city.utils.SpringUtils.class,
        }
)
@MapperScan(value = {
//        "com.ruoyi.system.mapper",
        "net.sk.china.city.mapper",
        "net.sk.china.city.talk.dao"
})
public class RuoYiApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
